let BASE_API = "",
  wxAuthUrl = "",
  CHANNEL_API = "";
if (process.env.NODE_API == "TEST") {
  BASE_API = "http://wepay.zhanwangjkgl.com";
  CHANNEL_API = "http://channel-bjzp.api.zhanwangjkgl.com";
  wxAuthUrl =
    "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7d3754ab062a61e9&";
} else if (process.env.NODE_API == "ONLINE") {
  BASE_API = "http://mall-fzsy.api.zhanwangjkgl.com";
  CHANNEL_API = "http://channel-fzsy.api.zhanwangjkgl.com";
  wxAuthUrl =
    "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx12839a820241c396&";
}

module.exports = {
  BASE_API,
  wxAuthUrl,
  CHANNEL_API
};
